package com.iwhalecloud.citybrain.flow.platform.manager.common;

public class ResultPageForService {

    public static String SUCCESS = "0";
    public static String FAIL = "1";
    public static String SUCCESS_MSG = "success";

    private String resultCode;
    private String resultMsg;
    private Object data;
    private Integer totalPage;
    private Integer totalCount;

    public ResultPageForService() {

    }

    public ResultPageForService(String resultCode, String resultMsg, Object data,Integer totalPage,Integer totalCount){
        this.resultCode = resultCode;
        this.resultMsg = resultMsg;
        this.data = data;
        this.totalPage = totalPage;
        this.totalCount = totalCount;
    }

    public String getResultCode() {
        return resultCode;
    }

    public void setResultCode(String resultCode) {
        this.resultCode = resultCode;
    }

    public String getResultMsg() {
        return resultMsg;
    }

    public void setResultMsg(String resultMsg) {
        this.resultMsg = resultMsg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public Integer getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(Integer totalPage) {
        this.totalPage = totalPage;
    }

    public Integer getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }
}
